From: Joey Hess Date: Mon, 17 Feb 2025 18:56:56 +0000 (-0400) Subject: OsPath build fix X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~6^2~151 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=6a5131fe0be68753ce93e52829d5b8cd72f494cd;p=git-annex.git OsPath build fix --- diff --git a/Test.hs b/Test.hs index 0032e855e0..cb3a29de13 100644 --- a/Test.hs +++ b/Test.hs @@ -556,9 +556,9 @@ test_magic = intmpclonerepo $ do "git-annex add with mimeencoding in largefiles" git_annex "sync" ["--no-content"] "git-annex sync" - (isJust <$> annexeval (Annex.CatFile.catKeyFile (encodeBS "binary"))) + (isJust <$> annexeval (Annex.CatFile.catKeyFile (literalOsPath "binary"))) @? "binary file not added to annex despite mimeencoding config" - (isNothing <$> annexeval (Annex.CatFile.catKeyFile (encodeBS "text"))) + (isNothing <$> annexeval (Annex.CatFile.catKeyFile (literalOsPath "text"))) @? "non-binary file got added to annex despite mimeencoding config" #else return ()